<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="../common/init_context.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>国付宝收银台 - 订单</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="${ROOT}/static/css/reset.css" media="all" />
<link type="text/css" rel="stylesheet" href="${ROOT}/static/css/style.css" media="all" />
<!-- link type="text/css" rel="stylesheet" href="${ROOT}/static/css/ui-lightness/jquery-ui-1.9.2.custom.css" media="all" /> -->
<link type="text/css" rel="stylesheet" href="${ctx}/static/00100/stylesheets/jquery-ui.css" media="all" /> 
<script type="text/javascript" src="${ROOT}/static/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${ROOT}/static/js/jquery-ui-1.9.2.custom.min.js"></script>
<script type="text/javascript" src="${ROOT}/static/js/jquery.gopay.ext.js"></script>

<script type="text/javascript" src="${ROOT}/static/js/gopay/payOrder.js"></script>
<script type="text/javascript" src="${ROOT}/static/js/gopay/PwdControl.js"></script>
<!--[if IE 6]> 
<script src="../javascripts/png_ie6fix.js" type="text/javascript"></script> 
<script type="text/javascript">
EvPNG.fix("div, span,a");
</script>

<![endif]-->

<script type="text/javascript">
	var ctx='${ctx}';
	var cashier_url = '${cashier_url}';
	var cas_server_url = '${cas_server_url}';
    var enable_fingerinfo = '${enable_fingerinfo}';
    var orderId = '<%=request.getParameter("orderId")%>';
    var orderKey = '<%=request.getParameter("orderKey")%>';
</script>
</head>
<body>

<%@include file="../common/header.jsp"%>
<input type="hidden" id="orderIntTxnCd" name="orderIntTxnCd" value="${order.intTxnCd }"/>
<div class="container1024">
	<div class="container960">
		<!-- 支付订单详情 -->
		<jsp:include page="payInfoHead.jsp" flush="true"/>
		
		<c:if test="${!empty err_msg }">
			<div class="backgroundBox-3" id="errorShowDiv">
				<span class="red">${err_msg }</span>
				<img class="close" src="${ctx}/static/img/close.png" id="closeOper"/>
			</div>
		</c:if>
		
		<c:if test="${'00200' eq order.intTxnCd}">
			<!-- 入金 -->
			<shiro:authenticated>
				<jsp:include page="payInMoney.jsp" flush="true"/>
			</shiro:authenticated>
			<shiro:notAuthenticated>
				<script type="text/javascript">
					window.location.href='${ctx}/pay/order.shtml?orderId=${orderId}';
				</script>
			</shiro:notAuthenticated>
		</c:if>
		<div class="backgroundBox-2">
			<!-- 支付渠道 -->
			<jsp:include page="payChannel.jsp" flush="true"/>
		</div>
	</div>
	<br>
</div>
<input type="hidden" name="loginEmail" id="loginEmail" value="${loginEmail}"/>
<%@include file="../common/footer.jsp"%>
</body>
</html>